body {
  margin: 0 auto;
  width: 100%;
  padding: 0;
  height: 100vh;
  object-fit: cover;
  position: relative;
  display: flex;
  // background-image: url(../img/background.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
a {
  text-decoration: none;
}
input {
  outline-style: none;
}
.top {
  position: absolute;
  width: 180%;
  height: 500px;
  left: -40%;
  top: 0;
  z-index: -1;
  content: "";
  border-radius: 0 0 50% 50%;
  background-image: url(../img/background.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  overflow: hidden;
}

.login-register {
  box-shadow: 2px 2px 2px #ccc, -1px -1px 5px #ccc;
  z-index: 5;
  position: relative;
  width: 800px;
  height: 500px;
  background: rgba(255, 255, 255, 0.204);
  overflow: hidden;
  border-radius: 10px;
  .top-content {
    a {
      text-decoration: none;
    }
    width: 100%;
    height: 90px;
    box-sizing: border-box;
    padding: 20px 10px;
    background-color: white;
    .top-login,
    .top-register {
      cursor: pointer;
      margin-left: 5px;
      display: inline-block;
      width: 80px;
      box-sizing: border-box;
      padding: 5px;
      background-color: rgb(255, 255, 255);
      height: 100%;
      font-size: 25px;
      text-align: center;
    }
    span {
      color: rgb(172, 169, 169);
    }
  }

  .login {
    z-index: 2;
    position: absolute;
    display: flex;
    width: 100%;
    height: 400px;
    background-color: rgb(255, 255, 255);
    box-sizing: border-box;
    padding: 50px 80px;
    i {
      color: red;
    }
    .iconfont {
      cursor: pointer;
      color: #979393;
      font-size: 20px;
    }
    #login-form {
      width: 450px;
    }
    .login-form {
      width: 100%;
      height: 90%;
      background-color: rgb(255, 255, 255);
    }
    .login-side {
      width: 1px;
      height: 300px;
      background-color: rgb(238, 237, 237);
    }

    input {
      width: 200px;
      height: 30px;
      border: 1px solid gainsboro;
      border-radius: 5px;

      margin-bottom: 40px;
    }
    p {
      display: block;
      width: 300px;
      text-align: center;
      color: rgb(170, 168, 168);
    }
    a {
      display: inline-block;
      cursor: pointer;
      color: rgb(103, 100, 100);
    }

    .login-btn {
      cursor: pointer;
      position: absolute;
      left: 17%;
      bottom: 20%;
      border-style: none;
      outline-style: none;
      color: white;
      width: 180px;
      height: 40px;
      border-radius: 5px;
      font-size: 20px;
      background-color: rgb(248, 128, 42);
    }

    .login-message {
      position: relative;
      .login-img {
        position: absolute;
        left: 20%;
        top: 10%;
        width: 250px;
        height: 250px;
        background-color: rgb(255, 255, 255);
      }
      .img {
        width: 100%;
        height: 100%;
      }
      width: 50%;
      height: 80%;
      background-color: rgb(255, 255, 255);
    }
  }
}
.bar {
  border-bottom: 4px solid #ff7f23;
}
.index {
  z-index: 3;
}

.register {
  display: flex;
  width: 100%;
  height: 400px;
  display: flex;
  box-sizing: border-box;
  padding: 35px 50px;
  background-color: rgb(255, 255, 255);
  position: absolute;
  i {
    color: red;
  }
  .iconfont {
    cursor: pointer;
    color: #979393;
    font-size: 20px;
  }
  #register-form {
    width: 466px;
  }
  .register-form {
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
  }
  input {
    margin-left: 5px;
    width: 200px;
    height: 30px;
    border: 1px solid gainsboro;
    border-radius: 5px;

    margin-bottom: 20px;
  }
  .register-btn {
    cursor: pointer;
    position: absolute;
    left: 17%;
    bottom: 20%;
    border-style: none;
    outline-style: none;
    color: white;
    width: 180px;
    height: 40px;
    border-radius: 5px;
    font-size: 20px;
    background-color: rgb(255, 127, 35);
  }
  .register-side {
    width: 1px;
    height: 300px;
    background-color: rgb(218, 217, 217);
  }
  .register-message {
    position: relative;
    .register-img {
      position: absolute;
      left: 10%;
      top: 10%;
      width: 250px;
      height: 250px;
      background-color: rgb(255, 255, 255);
    }
    .img {
      width: 100%;
      height: 100%;
    }
    width: 50%;
    height: 80%;
    background-color: rgb(255, 255, 255);
  }
  .code {
    cursor: pointer;
    display: inline-block;
    color: rgb(173, 173, 176);
    font-size: 13px;
    &:hover {
      color: #ff7f23;
    }
  }
}
.disable {
  cursor: not-allowed;
}

.custom-alert {
  line-height: 40px;
  position: fixed;
  width: 360px;
  height: 40px;
  top: 10%;
  left: 50%;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  padding: 5px 20px;
  border-radius: 5px;
}
.confirm-box {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translate(-50%);
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
}

.confirm-box h2 {
  margin: 0 0 10px;
}

.confirm-box p {
  margin: 0 0 20px;
}

.confirm-box button {
  padding: 5px 10px;
  margin-right: 10px;
  cursor: pointer;
}

.confirm-box button#confirmYes {
  border: none;
  background-color: #27ae60;
  color: #fff;
}

.confirm-box button#confirmNo {
  border: none;
  background-color: #c0392b;
  color: #fff;
}

.logo {
  position: absolute;
  width: 200px;
  height: 100px;
  top: 5%;
  margin: auto;
  img {
    width: 100%;
    height: 100%;
  }
}
